package com.yiya.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SerOrderInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SerOrderInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andRepairTypeIsNull() {
            addCriterion("repair_type is null");
            return (Criteria) this;
        }

        public Criteria andRepairTypeIsNotNull() {
            addCriterion("repair_type is not null");
            return (Criteria) this;
        }

        public Criteria andRepairTypeEqualTo(Integer value) {
            addCriterion("repair_type =", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeNotEqualTo(Integer value) {
            addCriterion("repair_type <>", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeGreaterThan(Integer value) {
            addCriterion("repair_type >", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("repair_type >=", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeLessThan(Integer value) {
            addCriterion("repair_type <", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeLessThanOrEqualTo(Integer value) {
            addCriterion("repair_type <=", value, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeIn(List<Integer> values) {
            addCriterion("repair_type in", values, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeNotIn(List<Integer> values) {
            addCriterion("repair_type not in", values, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeBetween(Integer value1, Integer value2) {
            addCriterion("repair_type between", value1, value2, "repairType");
            return (Criteria) this;
        }

        public Criteria andRepairTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("repair_type not between", value1, value2, "repairType");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(Integer value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(Integer value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(Integer value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(Integer value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(Integer value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<Integer> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<Integer> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(Integer value1, Integer value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNull() {
            addCriterion("device_type is null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNotNull() {
            addCriterion("device_type is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeEqualTo(Integer value) {
            addCriterion("device_type =", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotEqualTo(Integer value) {
            addCriterion("device_type <>", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThan(Integer value) {
            addCriterion("device_type >", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("device_type >=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThan(Integer value) {
            addCriterion("device_type <", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThanOrEqualTo(Integer value) {
            addCriterion("device_type <=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIn(List<Integer> values) {
            addCriterion("device_type in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotIn(List<Integer> values) {
            addCriterion("device_type not in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeBetween(Integer value1, Integer value2) {
            addCriterion("device_type between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("device_type not between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("location is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("location is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(String value) {
            addCriterion("location =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(String value) {
            addCriterion("location <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(String value) {
            addCriterion("location >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(String value) {
            addCriterion("location >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(String value) {
            addCriterion("location <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(String value) {
            addCriterion("location <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(String value) {
            addCriterion("location like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(String value) {
            addCriterion("location not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<String> values) {
            addCriterion("location in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<String> values) {
            addCriterion("location not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(String value1, String value2) {
            addCriterion("location between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(String value1, String value2) {
            addCriterion("location not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescIsNull() {
            addCriterion("malfunction_desc is null");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescIsNotNull() {
            addCriterion("malfunction_desc is not null");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescEqualTo(String value) {
            addCriterion("malfunction_desc =", value, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescNotEqualTo(String value) {
            addCriterion("malfunction_desc <>", value, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescGreaterThan(String value) {
            addCriterion("malfunction_desc >", value, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescGreaterThanOrEqualTo(String value) {
            addCriterion("malfunction_desc >=", value, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescLessThan(String value) {
            addCriterion("malfunction_desc <", value, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescLessThanOrEqualTo(String value) {
            addCriterion("malfunction_desc <=", value, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescLike(String value) {
            addCriterion("malfunction_desc like", value, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescNotLike(String value) {
            addCriterion("malfunction_desc not like", value, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescIn(List<String> values) {
            addCriterion("malfunction_desc in", values, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescNotIn(List<String> values) {
            addCriterion("malfunction_desc not in", values, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescBetween(String value1, String value2) {
            addCriterion("malfunction_desc between", value1, value2, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andMalfunctionDescNotBetween(String value1, String value2) {
            addCriterion("malfunction_desc not between", value1, value2, "malfunctionDesc");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordIsNull() {
            addCriterion("history_record is null");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordIsNotNull() {
            addCriterion("history_record is not null");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordEqualTo(String value) {
            addCriterion("history_record =", value, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordNotEqualTo(String value) {
            addCriterion("history_record <>", value, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordGreaterThan(String value) {
            addCriterion("history_record >", value, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordGreaterThanOrEqualTo(String value) {
            addCriterion("history_record >=", value, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordLessThan(String value) {
            addCriterion("history_record <", value, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordLessThanOrEqualTo(String value) {
            addCriterion("history_record <=", value, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordLike(String value) {
            addCriterion("history_record like", value, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordNotLike(String value) {
            addCriterion("history_record not like", value, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordIn(List<String> values) {
            addCriterion("history_record in", values, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordNotIn(List<String> values) {
            addCriterion("history_record not in", values, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordBetween(String value1, String value2) {
            addCriterion("history_record between", value1, value2, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andHistoryRecordNotBetween(String value1, String value2) {
            addCriterion("history_record not between", value1, value2, "historyRecord");
            return (Criteria) this;
        }

        public Criteria andRepairResultIsNull() {
            addCriterion("repair_result is null");
            return (Criteria) this;
        }

        public Criteria andRepairResultIsNotNull() {
            addCriterion("repair_result is not null");
            return (Criteria) this;
        }

        public Criteria andRepairResultEqualTo(Integer value) {
            addCriterion("repair_result =", value, "repairResult");
            return (Criteria) this;
        }

        public Criteria andRepairResultNotEqualTo(Integer value) {
            addCriterion("repair_result <>", value, "repairResult");
            return (Criteria) this;
        }

        public Criteria andRepairResultGreaterThan(Integer value) {
            addCriterion("repair_result >", value, "repairResult");
            return (Criteria) this;
        }

        public Criteria andRepairResultGreaterThanOrEqualTo(Integer value) {
            addCriterion("repair_result >=", value, "repairResult");
            return (Criteria) this;
        }

        public Criteria andRepairResultLessThan(Integer value) {
            addCriterion("repair_result <", value, "repairResult");
            return (Criteria) this;
        }

        public Criteria andRepairResultLessThanOrEqualTo(Integer value) {
            addCriterion("repair_result <=", value, "repairResult");
            return (Criteria) this;
        }

        public Criteria andRepairResultIn(List<Integer> values) {
            addCriterion("repair_result in", values, "repairResult");
            return (Criteria) this;
        }

        public Criteria andRepairResultNotIn(List<Integer> values) {
            addCriterion("repair_result not in", values, "repairResult");
            return (Criteria) this;
        }

        public Criteria andRepairResultBetween(Integer value1, Integer value2) {
            addCriterion("repair_result between", value1, value2, "repairResult");
            return (Criteria) this;
        }

        public Criteria andRepairResultNotBetween(Integer value1, Integer value2) {
            addCriterion("repair_result not between", value1, value2, "repairResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultIsNull() {
            addCriterion("current_result is null");
            return (Criteria) this;
        }

        public Criteria andCurrentResultIsNotNull() {
            addCriterion("current_result is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentResultEqualTo(String value) {
            addCriterion("current_result =", value, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultNotEqualTo(String value) {
            addCriterion("current_result <>", value, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultGreaterThan(String value) {
            addCriterion("current_result >", value, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultGreaterThanOrEqualTo(String value) {
            addCriterion("current_result >=", value, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultLessThan(String value) {
            addCriterion("current_result <", value, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultLessThanOrEqualTo(String value) {
            addCriterion("current_result <=", value, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultLike(String value) {
            addCriterion("current_result like", value, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultNotLike(String value) {
            addCriterion("current_result not like", value, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultIn(List<String> values) {
            addCriterion("current_result in", values, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultNotIn(List<String> values) {
            addCriterion("current_result not in", values, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultBetween(String value1, String value2) {
            addCriterion("current_result between", value1, value2, "currentResult");
            return (Criteria) this;
        }

        public Criteria andCurrentResultNotBetween(String value1, String value2) {
            addCriterion("current_result not between", value1, value2, "currentResult");
            return (Criteria) this;
        }

        public Criteria andSendDateIsNull() {
            addCriterion("send_date is null");
            return (Criteria) this;
        }

        public Criteria andSendDateIsNotNull() {
            addCriterion("send_date is not null");
            return (Criteria) this;
        }

        public Criteria andSendDateEqualTo(Date value) {
            addCriterion("send_date =", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateNotEqualTo(Date value) {
            addCriterion("send_date <>", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateGreaterThan(Date value) {
            addCriterion("send_date >", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateGreaterThanOrEqualTo(Date value) {
            addCriterion("send_date >=", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateLessThan(Date value) {
            addCriterion("send_date <", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateLessThanOrEqualTo(Date value) {
            addCriterion("send_date <=", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateIn(List<Date> values) {
            addCriterion("send_date in", values, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateNotIn(List<Date> values) {
            addCriterion("send_date not in", values, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateBetween(Date value1, Date value2) {
            addCriterion("send_date between", value1, value2, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateNotBetween(Date value1, Date value2) {
            addCriterion("send_date not between", value1, value2, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdIsNull() {
            addCriterion("ser_company_id is null");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdIsNotNull() {
            addCriterion("ser_company_id is not null");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdEqualTo(Integer value) {
            addCriterion("ser_company_id =", value, "serCompanyId");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdNotEqualTo(Integer value) {
            addCriterion("ser_company_id <>", value, "serCompanyId");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdGreaterThan(Integer value) {
            addCriterion("ser_company_id >", value, "serCompanyId");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ser_company_id >=", value, "serCompanyId");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdLessThan(Integer value) {
            addCriterion("ser_company_id <", value, "serCompanyId");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdLessThanOrEqualTo(Integer value) {
            addCriterion("ser_company_id <=", value, "serCompanyId");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdIn(List<Integer> values) {
            addCriterion("ser_company_id in", values, "serCompanyId");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdNotIn(List<Integer> values) {
            addCriterion("ser_company_id not in", values, "serCompanyId");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdBetween(Integer value1, Integer value2) {
            addCriterion("ser_company_id between", value1, value2, "serCompanyId");
            return (Criteria) this;
        }

        public Criteria andSerCompanyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ser_company_id not between", value1, value2, "serCompanyId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNull() {
            addCriterion("employee_id is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNotNull() {
            addCriterion("employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdEqualTo(Integer value) {
            addCriterion("employee_id =", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotEqualTo(Integer value) {
            addCriterion("employee_id <>", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThan(Integer value) {
            addCriterion("employee_id >", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("employee_id >=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThan(Integer value) {
            addCriterion("employee_id <", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThanOrEqualTo(Integer value) {
            addCriterion("employee_id <=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIn(List<Integer> values) {
            addCriterion("employee_id in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotIn(List<Integer> values) {
            addCriterion("employee_id not in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdBetween(Integer value1, Integer value2) {
            addCriterion("employee_id between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("employee_id not between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackIsNull() {
            addCriterion("user_feedback is null");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackIsNotNull() {
            addCriterion("user_feedback is not null");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackEqualTo(Integer value) {
            addCriterion("user_feedback =", value, "userFeedback");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackNotEqualTo(Integer value) {
            addCriterion("user_feedback <>", value, "userFeedback");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackGreaterThan(Integer value) {
            addCriterion("user_feedback >", value, "userFeedback");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_feedback >=", value, "userFeedback");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackLessThan(Integer value) {
            addCriterion("user_feedback <", value, "userFeedback");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackLessThanOrEqualTo(Integer value) {
            addCriterion("user_feedback <=", value, "userFeedback");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackIn(List<Integer> values) {
            addCriterion("user_feedback in", values, "userFeedback");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackNotIn(List<Integer> values) {
            addCriterion("user_feedback not in", values, "userFeedback");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackBetween(Integer value1, Integer value2) {
            addCriterion("user_feedback between", value1, value2, "userFeedback");
            return (Criteria) this;
        }

        public Criteria andUserFeedbackNotBetween(Integer value1, Integer value2) {
            addCriterion("user_feedback not between", value1, value2, "userFeedback");
            return (Criteria) this;
        }

        public Criteria andUserOpinionIsNull() {
            addCriterion("user_opinion is null");
            return (Criteria) this;
        }

        public Criteria andUserOpinionIsNotNull() {
            addCriterion("user_opinion is not null");
            return (Criteria) this;
        }

        public Criteria andUserOpinionEqualTo(String value) {
            addCriterion("user_opinion =", value, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionNotEqualTo(String value) {
            addCriterion("user_opinion <>", value, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionGreaterThan(String value) {
            addCriterion("user_opinion >", value, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionGreaterThanOrEqualTo(String value) {
            addCriterion("user_opinion >=", value, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionLessThan(String value) {
            addCriterion("user_opinion <", value, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionLessThanOrEqualTo(String value) {
            addCriterion("user_opinion <=", value, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionLike(String value) {
            addCriterion("user_opinion like", value, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionNotLike(String value) {
            addCriterion("user_opinion not like", value, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionIn(List<String> values) {
            addCriterion("user_opinion in", values, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionNotIn(List<String> values) {
            addCriterion("user_opinion not in", values, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionBetween(String value1, String value2) {
            addCriterion("user_opinion between", value1, value2, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andUserOpinionNotBetween(String value1, String value2) {
            addCriterion("user_opinion not between", value1, value2, "userOpinion");
            return (Criteria) this;
        }

        public Criteria andRepairTimesIsNull() {
            addCriterion("repair_times is null");
            return (Criteria) this;
        }

        public Criteria andRepairTimesIsNotNull() {
            addCriterion("repair_times is not null");
            return (Criteria) this;
        }

        public Criteria andRepairTimesEqualTo(Integer value) {
            addCriterion("repair_times =", value, "repairTimes");
            return (Criteria) this;
        }

        public Criteria andRepairTimesNotEqualTo(Integer value) {
            addCriterion("repair_times <>", value, "repairTimes");
            return (Criteria) this;
        }

        public Criteria andRepairTimesGreaterThan(Integer value) {
            addCriterion("repair_times >", value, "repairTimes");
            return (Criteria) this;
        }

        public Criteria andRepairTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("repair_times >=", value, "repairTimes");
            return (Criteria) this;
        }

        public Criteria andRepairTimesLessThan(Integer value) {
            addCriterion("repair_times <", value, "repairTimes");
            return (Criteria) this;
        }

        public Criteria andRepairTimesLessThanOrEqualTo(Integer value) {
            addCriterion("repair_times <=", value, "repairTimes");
            return (Criteria) this;
        }

        public Criteria andRepairTimesIn(List<Integer> values) {
            addCriterion("repair_times in", values, "repairTimes");
            return (Criteria) this;
        }

        public Criteria andRepairTimesNotIn(List<Integer> values) {
            addCriterion("repair_times not in", values, "repairTimes");
            return (Criteria) this;
        }

        public Criteria andRepairTimesBetween(Integer value1, Integer value2) {
            addCriterion("repair_times between", value1, value2, "repairTimes");
            return (Criteria) this;
        }

        public Criteria andRepairTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("repair_times not between", value1, value2, "repairTimes");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNull() {
            addCriterion("order_status is null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNotNull() {
            addCriterion("order_status is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusEqualTo(Integer value) {
            addCriterion("order_status =", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotEqualTo(Integer value) {
            addCriterion("order_status <>", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThan(Integer value) {
            addCriterion("order_status >", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_status >=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThan(Integer value) {
            addCriterion("order_status <", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThanOrEqualTo(Integer value) {
            addCriterion("order_status <=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIn(List<Integer> values) {
            addCriterion("order_status in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotIn(List<Integer> values) {
            addCriterion("order_status not in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusBetween(Integer value1, Integer value2) {
            addCriterion("order_status between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("order_status not between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Integer value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Integer value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Integer value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Integer value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Integer value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Integer> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Integer> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Integer value1, Integer value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Integer value1, Integer value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(Integer value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(Integer value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(Integer value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(Integer value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(Integer value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(Integer value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<Integer> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<Integer> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(Integer value1, Integer value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(Integer value1, Integer value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Integer value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Integer value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Integer value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Integer value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Integer value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Integer> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Integer> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Integer value1, Integer value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}